package cn.lijiguo.concurrency.part1.ch07;

/**
 * BankDemo
 *
 * @author lijiguo
 * @date 2019/12/13 16:42
 */
public class BankDemo {

    public static void main(String[] args) {
        TicketWindow ticketWindow = new TicketWindow();

        new Thread(ticketWindow, "窗口1").start();
        new Thread(ticketWindow, "窗口2").start();
        new Thread(ticketWindow, "窗口3").start();
    }
}
